package com.core.pojo.SeatReservation.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.core.pojo.SeatReservation.Enum.SeatPermanentStatusEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 座位字段
 */
@Data
@EqualsAndHashCode
@TableName("seat")
public class Seat implements Serializable {
    /**
     * 座位唯一ID
     */
    private Long id;

    /**
     * 关联教室ID
     */
    private Long classroomId;

    /**
     * 行号(1-12)
     */
    private Integer rowNum;

    /**
     * 列号
     */
    private Integer colNum;

    /**
     * 座位永久状态 (AVAILABLE, UNAVAILABLE)
     */
    private SeatPermanentStatusEnum status;
}